﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace STT.Home
{
    public partial class UcLienHe : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            GoogleMapForASPNet.GoogleMapObject.APIKey = ConfigurationManager.AppSettings["GoogleAPIKey"];

           
            GoogleMapForASPNet.GoogleMapObject.Width = "800px"; 
            GoogleMapForASPNet.GoogleMapObject.Height = "600px";

          
            GoogleMapForASPNet.GoogleMapObject.ZoomLevel = 14;


            GoogleMapForASPNet.GoogleMapObject.CenterPoint = new GooglePoint("1", 21.046475, 105.785378);

 
            GooglePoint GP1 = new GooglePoint();
            GP1.ID = "1";
            GP1.Latitude = 21.046475;
            GP1.Longitude = 105.785378;
            GP1.InfoHTML = "Đại Học Điện Lực";
            GoogleMapForASPNet.GoogleMapObject.Points.Add(GP1);

        }
    }
}